<html>
<head><meta charset="utf-8"><title>macOS Helping out as I can · t-compiler/arm · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/242906-t-compiler/arm/index.html">t-compiler/arm</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/242906-t-compiler/arm/topic/macOS.20Helping.20out.20as.20I.20can.html">macOS Helping out as I can</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="209895826"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242906-t-compiler/arm/topic/macOS%20Helping%20out%20as%20I%20can/near/209895826" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Chris Krycho <a href="https://rust-lang.github.io/zulip_archive/stream/242906-t-compiler/arm/topic/macOS.20Helping.20out.20as.20I.20can.html#209895826">(Sep 12 2020 at 19:19)</a>:</h4>
<p><span aria-label="wave" class="emoji emoji-1f44b" role="img" title="wave">:wave:</span> as of now, I have a DTK I'm using for personal dev and hopefully for supporting this, work on <a href="https://volta.sh">Volta</a> once we're closer, etc. As a not-a-compiler-hacker-but-happy-to-help kind of person, what if anything can I do to help here?</p>
<p>(Sorry, wrong topic initially, getting the hang of Zulip).</p>



<a name="209896925"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242906-t-compiler/arm/topic/macOS%20Helping%20out%20as%20I%20can/near/209896925" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/242906-t-compiler/arm/topic/macOS.20Helping.20out.20as.20I.20can.html#209896925">(Sep 12 2020 at 19:46)</a>:</h4>
<p>Not super much. Probably just try to compile your crates with the aarch64 compiler and run your test suites.</p>



<a name="209897690"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242906-t-compiler/arm/topic/macOS%20Helping%20out%20as%20I%20can/near/209897690" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/242906-t-compiler/arm/topic/macOS.20Helping.20out.20as.20I.20can.html#209897690">(Sep 12 2020 at 20:07)</a>:</h4>
<p>We won’t be able to do any kind of crater run for macOS, so just having people try it out on different code bases is good</p>



<a name="210639490"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242906-t-compiler/arm/topic/macOS%20Helping%20out%20as%20I%20can/near/210639490" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Chris Krycho <a href="https://rust-lang.github.io/zulip_archive/stream/242906-t-compiler/arm/topic/macOS.20Helping.20out.20as.20I.20can.html#210639490">(Sep 19 2020 at 23:04)</a>:</h4>
<p>Very good. I apologize if this should be obvious but I haven’t spotted it; what’s the best way to get the compiler for aarch64 up and running so I <em>can</em> test and confirm?</p>



<a name="210641773"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242906-t-compiler/arm/topic/macOS%20Helping%20out%20as%20I%20can/near/210641773" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/242906-t-compiler/arm/topic/macOS.20Helping.20out.20as.20I.20can.html#210641773">(Sep 20 2020 at 00:18)</a>:</h4>
<p>Not obvious as it's been in flux. The general place to keep tabs on has been my fork, which <a href="https://github.com/shepmaster/rust/blob/silicon/silicon/README.md">has a readme</a>. <strong>however</strong>, as of yesterday, we did get a successful try build.</p>



<a name="210641824"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242906-t-compiler/arm/topic/macOS%20Helping%20out%20as%20I%20can/near/210641824" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/242906-t-compiler/arm/topic/macOS.20Helping.20out.20as.20I.20can.html#210641824">(Sep 20 2020 at 00:20)</a>:</h4>
<p>So something like this will work:</p>
<div class="codehilite"><pre><span></span><code>curl --proto &#39;=https&#39; --tlsv1.2 -sSf https://sh.rustup.rs &gt; rustup.sh
vim rustup.sh
# Edit this to hardcode the detected architecture to x86_64 (see README)
bash rustup.sh
# Configure for minimal, default target `aarch64-apple-darwin`, don&#39;t install anything
source $HOME/.cargo/env
rustup install stable-x86_64-apple-darwin
cargo +stable-x86_64-apple-darwin install  rustup-toolchain-install-master
~/.cargo/bin/rustup-toolchain-install-master fcad6b350bbbe66d7b164a96c382e755f4d90a2a --host aarch64-apple-darwin
rustup default fcad6b350bbbe66d7b164a96c382e755f4d90a2a
rustc a.rs
</code></pre></div>



<a name="210641829"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242906-t-compiler/arm/topic/macOS%20Helping%20out%20as%20I%20can/near/210641829" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/242906-t-compiler/arm/topic/macOS.20Helping.20out.20as.20I.20can.html#210641829">(Sep 20 2020 at 00:20)</a>:</h4>
<p>This toolchain doesn't have Cargo yet (I'm giving a try build for that right now)</p>



<a name="210641832"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242906-t-compiler/arm/topic/macOS%20Helping%20out%20as%20I%20can/near/210641832" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/242906-t-compiler/arm/topic/macOS.20Helping.20out.20as.20I.20can.html#210641832">(Sep 20 2020 at 00:21)</a>:</h4>
<p>so you'll have to copy / symlink the cargo from the x86_64 toolchain</p>



<a name="210641878"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242906-t-compiler/arm/topic/macOS%20Helping%20out%20as%20I%20can/near/210641878" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/242906-t-compiler/arm/topic/macOS.20Helping.20out.20as.20I.20can.html#210641878">(Sep 20 2020 at 00:22)</a>:</h4>
<p>(that build just finished unsuccessfully, so the hack is required)</p>



<a name="210641937"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242906-t-compiler/arm/topic/macOS%20Helping%20out%20as%20I%20can/near/210641937" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/242906-t-compiler/arm/topic/macOS.20Helping.20out.20as.20I.20can.html#210641937">(Sep 20 2020 at 00:24)</a>:</h4>
<p><span class="user-mention" data-user-id="341764">@Chris Krycho</span></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>